package com.cloud.mall.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 商品标准化单元属性
 */
@Data
@TableName(value = "t_spu_attribute")
public class SpuAttribute {
    /**
     * id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * spu主建
     */
    @TableField(value = "spu_id")
    private Long spuId;

    /**
     * attribute主建
     */
    @TableField(value = "attribute_id")
    private Long attributeId;

    /**
     * 0-无效，1-有效
     */
    @TableField(value = "status")
    private Byte status;

    /**
     * 
     */
    @TableField(value = "created_by")
    private Long createdBy;

    /**
     * 
     */
    @TableField(value = "created_time")
    private Date createdTime;

    /**
     * 
     */
    @TableField(value = "modified_by")
    private Long modifiedBy;

    /**
     * 
     */
    @TableField(value = "gmt_modified")
    private Date gmtModified;

}